package com.jz.community.moduleshopping.shopCart.ui;

import android.content.Context;

import com.jz.community.basecomm.bean.BaseResponseInfo;
import com.jz.community.moduleshopping.shopCart.bean.CartShopInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/5/18 14:28
 */
public interface ShoppingCartView {

    Context getContext();

    /**
     * 设置购物车的购买相关信息
     *
     * @param totalAmount
     * @param totalNum
     * @param isAllChoose
     * @param isChoose_buy
     */
    void showShoppingCartBuyInfo(double totalAmount, int totalNum, boolean isAllChoose, boolean isChoose_buy,double postagePrice);


    /**
     * 设置购买数量
     *
     * @param totalShopNum
     */
    void showShoppingCartBuyNum(int totalShopNum);

    /**
     * 删除购物车
     *
     * @param baseResponseInfo
     */
    void showDeleteShopingInfo(BaseResponseInfo baseResponseInfo);


}
